package top.stmo.stmoBlog.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.stmo.stmoBlog.dao.mapper.ArticleBodyMapper;
import top.stmo.stmoBlog.dao.pojo.ArticleBody;
import top.stmo.stmoBlog.service.ArticleBodyService;


@Service
public class ArticleBodyServiceImpl implements ArticleBodyService {

    @Autowired
    private ArticleBodyMapper articleBodyMapper;


    @Override
    public ArticleBody findArticleBodyById(Long bodyId) {

        ArticleBody articleBody = articleBodyMapper.selectById(bodyId);

        return articleBody;
    }

}
